extends Node

var current_block
var current_position

@onready var board = $"../Board" as Board

# Called when the node enters the scene tree for the first time.
func _ready() -> void:
	current_block = Shared.Block.values().pick_random()
	current_position = Shared.position_arr.pick_random()
	print("spawn current_position:"+str(current_position))
	board.spawn_block(current_block,false,current_position)


# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
	pass
